<?php
class Round_input_dto extends Base_dto
{
	// Atributos
	var $date;
	var $detail;
	var $idRound = 0;
	var $idIndicator = 0;
	var $idUser = 0;
	
	private $objUser = NULL;
	public function getObjUser()
	{
		if ($this->objUser == NULL) {
			$this->_loadUserModels();
			
			if($this->idUser != 0) $this->objUser = $this->User_dao->obtenerObjetoPorID($this->idUser);
			else $this->objUser = new User_dto();
		}
		
		return $this->objUser;
	}
	
	private function _loadUserModels()
	{
		$this->load->model('User_dao', 'User_dao');
		$this->load->model('User_dto', 'User_dto');
	}	
	
	function __construct()
    {
		parent::__construct();
	}
}